export default class EcologicalkKnowledge {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/ecologyLibrary', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/ecologyLibrary', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/ecologyLibrary/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/ecologyLibrary/${params}`, 'get', axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/ecologyLibrary/delete/${params}`, 'get', axiosOption, httpOption);
  }
  static deletes (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/ecologyLibrary/delete', 'post', params, axiosOption, httpOption);
  }
  static listDict (sender, axiosOption, httpOption) {
    return sender.doUrl('admin/app/areaCode/listDict', 'get', axiosOption, httpOption);
  }
  static listDictBy (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/app/areaCode/listDictByParentId', 'get', params, axiosOption, httpOption);
  }
}
